﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;
using System.Text.RegularExpressions;
using System.Drawing;

public partial class AreaAnnoList : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["group"] == null)
        {
            Response.Redirect("../Login.aspx");
        }
        else if ((int)Session["group"] != 2)
        {
            Response.Redirect("../Login.aspx");
        }
        string dt = DateTime.Now.AddMonths(-1).ToString();
        SqlDataSource1.SelectParameters[0].DefaultValue = dt;
    }
}